package cn.com.thingo.hyintelligent.base.contract;

import cn.com.thingo.hyintelligent.base.BasePresenter;
import cn.com.thingo.hyintelligent.base.BaseView;
import cn.com.thingo.hyintelligent.model.bean.CommonBean;
import cn.com.thingo.hyintelligent.model.bean.MessageListBean;

public interface MessageContract {
    interface View extends BaseView {

        void viewMessageList(MessageListBean messageListBean);

        void viewReadMessage(CommonBean commonBean, int position);

    }

    interface Presenter extends BasePresenter<MessageContract.View> {
        void messageList(String token);

        void readMessage(String token, String messageId, int position);

    }
}
